package com.lxh.demo.eureka_feign_server;

import com.lxh.eurekafeign.common.api.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * @create: 2019-08-18 16:31
 * @author: xiaoh.luo001@bkjk.com
 * @description: 测试服务接口
 **/
@RestController
public class TestServiceController implements TestService {

    @Autowired private InternalService internalService;

    @Override
    public String getName() {
        return internalService.getAuthorName();
    }
}
